package com.jsu.service;

import org.example.model.activity.dto.AgendaDto;
import org.example.model.activity.dto.AgendaWithFlowDTO;
import org.example.model.activity.pojo.Agenda;
import org.example.model.common.dtos.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.sql.Date;

public interface AgendaService {
    ResponseResult getAgendaById(int id);

    ResponseResult getAllAgendas(Date date,Integer type,String name,Integer userId);

    ResponseResult addOneAgenda(AgendaWithFlowDTO agendaWithFlowDTO);

    ResponseResult getVideoLink(int id);

    ResponseResult updateSubscriber(int agendaId,int userId,int isCancled);

    ResponseResult getLiveLink(int id);

    ResponseResult updateAgenda(AgendaWithFlowDTO agendaWithFlowDTO);

    ResponseResult delAgenda(Integer agendaId);


    ResponseResult getAllAgendasBasic();

    ResponseResult addAgendaViews(Integer agendaId);

}
